.class public final Lkairo/android/i/h;
.super Ljava/lang/Object;


# static fields
.field protected static a:I

.field protected static final b:[Ljava/lang/String;

.field protected static c:[[Ljava/lang/String;

.field protected static d:[[[Ljava/lang/String;


# direct methods
.method static constructor <clinit>()V
    .locals 3

    const/4 v0, -0x1

    sput v0, Lkairo/android/i/h;->a:I

    const/4 v0, 0x2

    new-array v0, v0, [Ljava/lang/String;

    const/4 v1, 0x0

    const-string v2, "Japanese.lproj"

    aput-object v2, v0, v1

    const/4 v1, 0x1

    const-string v2, "English.lproj"

    aput-object v2, v0, v1

    sput-object v0, Lkairo/android/i/h;->b:[Ljava/lang/String;

    return-void
.end method

.method public static a(Ljava/lang/String;)Ljava/lang/String;
    .locals 3

    const/4 v1, 0x0

    sget-object v0, Lkairo/android/i/h;->c:[[Ljava/lang/String;

    if-nez v0, :cond_1

    :cond_0
    :goto_0
    return-object p0

    :cond_1
    move v0, v1

    :goto_1
    sget-object v2, Lkairo/android/i/h;->c:[[Ljava/lang/String;

    array-length v2, v2

    if-ge v0, v2, :cond_0

    sget-object v2, Lkairo/android/i/h;->c:[[Ljava/lang/String;

    aget-object v2, v2, v0

    aget-object v2, v2, v1

    invoke-virtual {p0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_2

    sget-object v1, Lkairo/android/i/h;->c:[[Ljava/lang/String;

    aget-object v0, v1, v0

    const/4 v1, 0x1

    aget-object p0, v0, v1

    goto :goto_0

    :cond_2
    add-int/lit8 v0, v0, 0x1

    goto :goto_1
.end method

.method public static a(Ljava/lang/String;Z)Ljava/lang/String;
    .locals 5

    const/4 v0, 0x0

    const-string v1, "\\"

    const-string v2, "\u00a5"

    invoke-static {p0, v1, v2}, Lkairo/android/i/m;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    const/16 v2, 0x8

    invoke-virtual {v1, v2}, Ljava/lang/String;->indexOf(I)I

    move-result v2

    const/4 v3, -0x1

    if-eq v2, v3, :cond_1

    const-string v0, "\u0008"

    const-string v2, ""

    invoke-static {v1, v0, v2}, Lkairo/android/i/m;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :cond_0
    :goto_0
    return-object v0

    :cond_1
    sget-object v2, Lkairo/android/i/h;->d:[[[Ljava/lang/String;

    if-nez v2, :cond_2

    move-object v0, v1

    goto :goto_0

    :cond_2
    const-string v2, "\t"

    invoke-virtual {v1, v2}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_5

    if-eqz p1, :cond_4

    const-string v2, "\t"

    const/4 v3, 0x1

    invoke-static {v1, v2, v3, v0}, Lkairo/android/i/m;->a(Ljava/lang/String;Ljava/lang/String;ZZ)[Ljava/lang/String;

    move-result-object v3

    const-string v1, ""

    move v4, v0

    move-object v0, v1

    move v1, v4

    :goto_1
    array-length v2, v3

    if-ge v1, v2, :cond_0

    if-eqz v1, :cond_3

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v2, "\t"

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    :cond_3
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    aget-object v2, v3, v1

    invoke-static {v2}, Lkairo/android/i/h;->c(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    add-int/lit8 v0, v1, 0x1

    move v1, v0

    move-object v0, v2

    goto :goto_1

    :cond_4
    const-string v0, "\t"

    const-string v2, "\\t"

    invoke-static {v1, v0, v2}, Lkairo/android/i/m;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lkairo/android/i/h;->c(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    const-string v1, "\\t"

    const-string v2, "\t"

    invoke-static {v0, v1, v2}, Lkairo/android/i/m;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    goto :goto_0

    :cond_5
    invoke-static {v1}, Lkairo/android/i/h;->c(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    if-ne v0, v1, :cond_0

    const-string v0, "\n"

    const-string v2, "<br>"

    invoke-static {v1, v0, v2}, Lkairo/android/i/m;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Lkairo/android/i/h;->c(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    if-ne v0, v2, :cond_0

    move-object v0, v1

    goto :goto_0
.end method

.method public static a([[Ljava/lang/String;)V
    .locals 7

    const/4 v6, 0x1

    const/4 v1, 0x0

    sput-object p0, Lkairo/android/i/h;->c:[[Ljava/lang/String;

    if-nez p0, :cond_1

    :cond_0
    return-void

    :cond_1
    move v0, v1

    :goto_0
    sget-object v2, Lkairo/android/i/h;->c:[[Ljava/lang/String;

    array-length v2, v2

    if-ge v0, v2, :cond_0

    sget-object v2, Lkairo/android/i/h;->c:[[Ljava/lang/String;

    aget-object v2, v2, v0

    sget-object v3, Lkairo/android/i/h;->c:[[Ljava/lang/String;

    aget-object v3, v3, v0

    aget-object v3, v3, v1

    const-string v4, "\\"

    const-string v5, "\u00a5"

    invoke-static {v3, v4, v5}, Lkairo/android/i/m;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    aput-object v3, v2, v1

    sget-object v2, Lkairo/android/i/h;->c:[[Ljava/lang/String;

    aget-object v2, v2, v0

    sget-object v3, Lkairo/android/i/h;->c:[[Ljava/lang/String;

    aget-object v3, v3, v0

    aget-object v3, v3, v6

    const-string v4, "\\"

    const-string v5, "\u00a5"

    invoke-static {v3, v4, v5}, Lkairo/android/i/m;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    aput-object v3, v2, v6

    add-int/lit8 v0, v0, 0x1

    goto :goto_0
.end method

.method public static a()Z
    .locals 1

    invoke-static {}, Lkairo/android/i/h;->d()I

    move-result v0

    if-nez v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public static b(Ljava/lang/String;)Ljava/lang/String;
    .locals 1

    const/4 v0, 0x1

    invoke-static {p0, v0}, Lkairo/android/i/h;->a(Ljava/lang/String;Z)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public static b([[Ljava/lang/String;)V
    .locals 8

    const/4 v7, 0x1

    const/4 v1, 0x0

    const/4 v0, 0x0

    sput-object v0, Lkairo/android/i/h;->d:[[[Ljava/lang/String;

    if-nez p0, :cond_1

    :cond_0
    return-void

    :cond_1
    move v0, v1

    move v2, v1

    :goto_0
    array-length v3, p0

    if-ge v0, v3, :cond_3

    aget-object v3, p0, v0

    aget-object v3, v3, v1

    invoke-virtual {v3}, Ljava/lang/String;->length()I

    move-result v3

    if-ge v2, v3, :cond_2

    aget-object v2, p0, v0

    aget-object v2, v2, v1

    invoke-virtual {v2}, Ljava/lang/String;->length()I

    move-result v2

    :cond_2
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_3
    add-int/lit8 v0, v2, 0x1

    new-array v4, v0, [Ljava/util/Vector;

    move v0, v1

    :goto_1
    array-length v2, p0

    if-ge v0, v2, :cond_6

    aget-object v2, p0, v0

    aget-object v2, v2, v1

    invoke-virtual {v2}, Ljava/lang/String;->length()I

    move-result v2

    aget-object v3, v4, v2

    if-nez v3, :cond_4

    new-instance v3, Ljava/util/Vector;

    invoke-direct {v3}, Ljava/util/Vector;-><init>()V

    aput-object v3, v4, v2

    :cond_4
    aget-object v2, v4, v2

    aget-object v3, p0, v0

    invoke-virtual {v2, v3}, Ljava/util/Vector;->add(Ljava/lang/Object;)Z

    invoke-static {}, Lkairo/android/i/h;->a()Z

    move-result v2

    if-nez v2, :cond_5

    aget-object v2, p0, v0

    aget-object v3, p0, v0

    aget-object v3, v3, v1

    const-string v5, "\\"

    const-string v6, "\u00a5"

    invoke-static {v3, v5, v6}, Lkairo/android/i/m;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    aput-object v3, v2, v1

    aget-object v2, p0, v0

    aget-object v3, p0, v0

    aget-object v3, v3, v7

    const-string v5, "\\"

    const-string v6, "\u00a5"

    invoke-static {v3, v5, v6}, Lkairo/android/i/m;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    aput-object v3, v2, v7

    :cond_5
    add-int/lit8 v0, v0, 0x1

    goto :goto_1

    :cond_6
    array-length v0, v4

    new-array v0, v0, [[[Ljava/lang/String;

    sput-object v0, Lkairo/android/i/h;->d:[[[Ljava/lang/String;

    move v2, v1

    :goto_2
    sget-object v0, Lkairo/android/i/h;->d:[[[Ljava/lang/String;

    array-length v0, v0

    if-ge v2, v0, :cond_0

    aget-object v0, v4, v2

    if-eqz v0, :cond_7

    sget-object v0, Lkairo/android/i/h;->d:[[[Ljava/lang/String;

    aget-object v3, v4, v2

    invoke-virtual {v3}, Ljava/util/Vector;->size()I

    move-result v3

    new-array v3, v3, [[Ljava/lang/String;

    aput-object v3, v0, v2

    move v3, v1

    :goto_3
    sget-object v0, Lkairo/android/i/h;->d:[[[Ljava/lang/String;

    aget-object v0, v0, v2

    array-length v0, v0

    if-ge v3, v0, :cond_7

    sget-object v0, Lkairo/android/i/h;->d:[[[Ljava/lang/String;

    aget-object v5, v0, v2

    aget-object v0, v4, v2

    invoke-virtual {v0, v3}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, [Ljava/lang/String;

    aput-object v0, v5, v3

    add-int/lit8 v0, v3, 0x1

    move v3, v0

    goto :goto_3

    :cond_7
    add-int/lit8 v0, v2, 0x1

    move v2, v0

    goto :goto_2
.end method

.method public static b()Z
    .locals 2

    const/4 v0, 0x1

    invoke-static {}, Lkairo/android/i/h;->d()I

    move-result v1

    if-ne v1, v0, :cond_0

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public static c()Ljava/lang/String;
    .locals 2

    sget-object v0, Lkairo/android/i/h;->b:[Ljava/lang/String;

    invoke-static {}, Lkairo/android/i/h;->d()I

    move-result v1

    aget-object v0, v0, v1

    return-object v0
.end method

.method private static c(Ljava/lang/String;)Ljava/lang/String;
    .locals 4

    const/4 v1, 0x0

    invoke-virtual {p0}, Ljava/lang/String;->length()I

    move-result v2

    sget-object v0, Lkairo/android/i/h;->d:[[[Ljava/lang/String;

    array-length v0, v0

    if-le v0, v2, :cond_0

    sget-object v0, Lkairo/android/i/h;->d:[[[Ljava/lang/String;

    aget-object v0, v0, v2

    if-nez v0, :cond_1

    :cond_0
    :goto_0
    return-object p0

    :cond_1
    move v0, v1

    :goto_1
    sget-object v3, Lkairo/android/i/h;->d:[[[Ljava/lang/String;

    aget-object v3, v3, v2

    array-length v3, v3

    if-ge v0, v3, :cond_0

    sget-object v3, Lkairo/android/i/h;->d:[[[Ljava/lang/String;

    aget-object v3, v3, v2

    aget-object v3, v3, v0

    aget-object v3, v3, v1

    invoke-virtual {p0, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_2

    sget-object v1, Lkairo/android/i/h;->d:[[[Ljava/lang/String;

    aget-object v1, v1, v2

    aget-object v0, v1, v0

    const/4 v1, 0x1

    aget-object p0, v0, v1

    goto :goto_0

    :cond_2
    add-int/lit8 v0, v0, 0x1

    goto :goto_1
.end method

.method private static d()I
    .locals 2

    const/4 v1, -0x1

    sget v0, Lkairo/android/i/h;->a:I

    if-eq v0, v1, :cond_0

    sget v0, Lkairo/android/i/h;->a:I

    :goto_0
    return v0

    :cond_0
    sget v0, Lkairo/a/a/a;->b:I

    if-ne v0, v1, :cond_3

    invoke-static {}, Ljava/util/Locale;->getDefault()Ljava/util/Locale;

    move-result-object v0

    sget-object v1, Ljava/util/Locale;->JAPAN:Ljava/util/Locale;

    invoke-virtual {v1, v0}, Ljava/util/Locale;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_1

    sget-object v1, Ljava/util/Locale;->JAPANESE:Ljava/util/Locale;

    invoke-virtual {v1, v0}, Ljava/util/Locale;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    :cond_1
    const/4 v0, 0x0

    :goto_1
    sput v0, Lkairo/android/i/h;->a:I

    :goto_2
    sget v0, Lkairo/android/i/h;->a:I

    goto :goto_0

    :cond_2
    const/4 v0, 0x1

    goto :goto_1

    :cond_3
    sget v0, Lkairo/a/a/a;->b:I

    sput v0, Lkairo/android/i/h;->a:I

    goto :goto_2
.end method
